package com.yigang.entity;

public class ShopingCart {
	private int product_id;//商品id  外键
	private int color_id;//规格id  外键
	private int id;//用户id   外键
	private int shoppingcart_id;//购物车id   主键
	private String product_quantity;//加购数量
	private String product_maingraph;//商品主图片
	private String product_color;//架构规格名称
	private String color_price;//加购规格价格
	public int getProduct_id() {
		return product_id;
	}
	public void setProduct_id(int product_id) {
		this.product_id = product_id;
	}
	public int getColor_id() {
		return color_id;
	}
	public void setColor_id(int color_id) {
		this.color_id = color_id;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getShoppingcart_id() {
		return shoppingcart_id;
	}
	public void setShoppingcart_id(int shoppingcart_id) {
		this.shoppingcart_id = shoppingcart_id;
	}
	public String getProduct_quantity() {
		return product_quantity;
	}
	public void setProduct_quantity(String product_quantity) {
		this.product_quantity = product_quantity;
	}
	public String getProduct_maingraph() {
		return product_maingraph;
	}
	public void setProduct_maingraph(String product_maingraph) {
		this.product_maingraph = product_maingraph;
	}
	public String getProduct_color() {
		return product_color;
	}
	public void setProduct_color(String product_color) {
		this.product_color = product_color;
	}
	public String getColor_price() {
		return color_price;
	}
	public void setColor_price(String color_price) {
		this.color_price = color_price;
	}
	public ShopingCart(int product_id, int color_id, int id, int shoppingcart_id, String product_quantity,
			String product_maingraph, String product_color, String color_price) {
		super();
		this.product_id = product_id;
		this.color_id = color_id;
		this.id = id;
		this.shoppingcart_id = shoppingcart_id;
		this.product_quantity = product_quantity;
		this.product_maingraph = product_maingraph;
		this.product_color = product_color;
		this.color_price = color_price;
	}
	@Override
	public String toString() {
		return "ShopingCart [product_id=" + product_id + ", color_id=" + color_id + ", id=" + id + ", shoppingcart_id="
				+ shoppingcart_id + ", product_quantity=" + product_quantity + ", product_maingraph="
				+ product_maingraph + ", product_color=" + product_color + ", color_price=" + color_price + "]";
	}
	public ShopingCart() {
		super();
	}
	
	
	
}
